package cn.explink.dop.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.explink.dop.dao.BusiParamDao;
import cn.explink.dop.service.BusiParamService;
import cn.explink.eap.core.common.service.impl.CommonServiceImpl;

@Service("busiParamService")
public class BusiParamServiceImpl extends CommonServiceImpl implements BusiParamService {
	@Autowired
	BusiParamDao busiParamDao = new BusiParamDao();

	/**
	 *
	 * @Title: findDataByPage
	 * @Description: 分页查询数据
	 * @author 孟凡岭
	 * @param @param pageNum
	 * @param @param pageSize
	 * @param @return
	 * @throws
	 */
	@Override
	public HashMap<String, Object> findDataByPage(int pageNum, int pageSize) {
		// TODO Auto-generated method stub
		return this.busiParamDao.findDataByPage(pageNum, pageSize);
	}

	/**
	 *
	 * @Title: updateParam
	 * @Description: 更新参数
	 * @author 孟凡岭
	 * @param @param id
	 * @param @param name
	 * @param @param value
	 * @throws
	 */
	@Override
	public void updateParam(String id, String name, String value) {
		// TODO Auto-generated method stub
		this.busiParamDao.updateParam(id, name, value);
	}

	/**
	 *
	 * @Title: deleteParam
	 * @Description: 删除参数
	 * @author 孟凡岭
	 * @param @param idList
	 * @throws
	 */
	@Override
	public void deleteParam(List<String> idList) {
		// TODO Auto-generated method stub
		this.busiParamDao.deleteParam(idList);
	}
}
